Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to build a parser by tokens #30

Merged
merged 8 commits into from
Feb 4, 2024
Merged

Conversation

ethlo
Copy link
Owner

@ethlo ethlo commented Feb 3, 2024

Make it possible to define length and position of tokens for parsing the parts of a date/date-time

@codecov-commenter
Copy link

codecov-commenter commented Feb 3, 2024

Codecov Report

Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (d7c2dc9) 91.11% compared to head (ba80572) 90.46%.
Report is 1 commits behind head on main.

Files Patch % Lines
...com/ethlo/time/internal/token/ZoneOffsetToken.java 80.00% 3 Missing and 2 partials ⚠️
...com/ethlo/time/internal/token/SeparatorsToken.java 69.23% 2 Missing and 2 partials ⚠️
.../java/com/ethlo/time/internal/fixed/ITUParser.java 0.00% 3 Missing ⚠️
.../com/ethlo/time/internal/token/SeparatorToken.java 76.92% 2 Missing and 1 partial ⚠️
...main/java/com/ethlo/time/token/DateTimeTokens.java 66.66% 2 Missing and 1 partial ⚠️
.../java/com/ethlo/time/internal/util/ArrayUtils.java 80.00% 1 Missing ⚠️
...ime/internal/util/LimitedCharArrayIntegerUtil.java 50.00% 1 Missing ⚠️
...main/java/com/ethlo/time/token/DateTimeParser.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #30      +/-   ##
============================================
- Coverage     91.11%   90.46%   -0.66%     
- Complexity      258      308      +50     
============================================
  Files            16       26      +10     
  Lines           574      713     +139     
  Branches        103      123      +20     
============================================
+ Hits            523      645     +122     
- Misses           27       38      +11     
- Partials         24       30       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ethlo ethlo merged commit ababe65 into main Feb 4, 2024
7 of 9 checks passed
@ethlo ethlo deleted the configurable_parser branch February 4, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants